package com.stone.design.patterns.strategy;

import android.util.Log;

import static com.stone.design.patterns.factory.Tag.TAG;

/**
 * @author Stone
 * @version V1.0
 * @description: 一直可以呱呱叫的鸭子，并且能够飞，头是绿色的
 * @date 18/4/2 21:46
 * @email redsstone@163.com
 */
public class GuaGuaDuck extends Duck{

    public GuaGuaDuck() {
        mFlyBehavior = new FlyWithWings();
        mQuackBehavior = new Quack();
    }

    @Override
    void display() {
        Log.e(TAG, "display(GuaGuaDuck.java:13)-->>" + "我的头是绿色的哦");
    }
}
